Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test against Rails 5 #229

Merged
merged 1 commit into from
Mar 11, 2016
Merged

Test against Rails 5 #229

merged 1 commit into from
Mar 11, 2016

Conversation

dgalarza
Copy link
Contributor

@dgalarza dgalarza commented Mar 4, 2016

Heavily inspired by @derekprior's work on testing Clearance against Rails 5.
This will pave the way to releasing HighVoltage 3.0 which removes
caching support but provides Rails 5 support.

# supported in Rails 5+. Since we support back to 4, we need some sort of shim
# to avoid super noisy deprecations when running tests.
module HTTPMethodShim
def get(path, params=nil, headers=nil)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Surrounding space missing in default value assignment.

@derekprior
Copy link

👍

@dgalarza
Copy link
Contributor Author

Thanks @derekprior / @tute

Heavily inspired by derekprior's work on testing Clearance against Rails 5.
This will pave the way to releasing HighVoltage 3.0 which removes
caching support but provides Rails 5 support.
@dgalarza dgalarza merged commit 3235c85 into master Mar 11, 2016
@dgalarza dgalarza deleted the dg-rails-5.0 branch March 11, 2016 15:42
teoljungberg added a commit to thoughtbot/administrate that referenced this pull request Aug 1, 2016
This provides backward compatibility with Rails 5.

Inspiration taken from:

- thoughtbot/high_voltage#229
- thoughtbot/clearance#639
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants